import 'package:flutter/material.dart';
import 'package:navigate_demo/routes/app_router.dart';
import 'package:navigate_demo/screens/home_screen.dart';
import 'app.dart';

void main() {
  runApp(const MyApp());
}

// class MyApp extends StatelessWidget {
//   const MyApp({super.key});
//
//   // This widget is the root of your application.
//   @override
//   Widget build(BuildContext context) {
//     return MaterialApp(
//       title: 'Flutter Navigation System',
//       theme: ThemeData(
//         colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
//         useMaterial3: true,
//         visualDensity: VisualDensity.adaptivePlatformDensity,
//         appBarTheme: const AppBarTheme(centerTitle: true,elevation: 2),
//       ),
//
//       debugShowCheckedModeBanner: false,
//
//       home: const HomeScreen(),
//       onGenerateRoute: AppRouter.generateRoute,
//
//     );
//   }
// }





